package java_1_7;
public class Test {
    public static void main(String[] args) {
        fun(new Cycle());
        fun(new Rect());
        fun(new Flower());
       // fun(new Triangle());
    }
    //使用者
    public static void fun(sharp sharp){
        sharp.print();
    }
}
